]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
overview: Set _shown before calling _animateNotVisible
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 27 Nov 2014 02:05:36 +0000 (18:05 -0800)
committerJasper St. Pierre <jstpierre@mecheye.net>
Thu, 27 Nov 2014 22:28:32 +0000 (14:28 -0800)
_hideDone checks _shown to determine if anything has shown the overview
while we hid it, and if so, shows the overview forward just in case.

In a local patch that called _hideDone immediately inside _hide for
testing, this broke. While we don't actually depend on this anywhere,
it doesn't hurt so that the next person to hack this up (perhaps me!)
doesn't get stuck debugging it for 20 minutes.

js/ui/overview.js

index c89fef5d211fd6c5a397aa0e4c211c1567abcebe..4da62436ccbfacc1fb949f27411fceab55d04e64 100644 (file)
@@ -605,9 +605,9 @@ const Overview = new Lang.Class({
                 return;
         }
 
-        this._animateNotVisible();
-
         this._shown = false;
+
+        this._animateNotVisible();
         this._syncGrab();
     },